package com.lengxf.design.dynamic;

public class UserDAO implements AbstractUserDAO {

    @Override
    public Boolean findUserById(String userId) {
        if (userId.equals("张无忌")) {
            System.out.println("数据查询成功");
            return true;
        }
        System.out.println("数据查询失败...");
        return false;
    }

}
